package com.ravi.dao;

import com.ravi.entity.PatientQueueInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PatientQueueInfoDAO {

	int insertPatientQueueInfo(PatientQueueInfo patientQueueInfo);

	PatientQueueInfo selectPatientQueueInfoByPatientId(Integer patientId);

	int updatePatientQueueInfoByPrimaryKey(PatientQueueInfo patientQueueInfo);

	int deletePatientQueueInfoByPrimaryKey(PatientQueueInfo patientQueueInfo);

	List<PatientQueueInfo> getPatientQueueInfoList(@Param("offset") int offset, @Param("limit") int limit);

	List<PatientQueueInfo> getAll();
}
